from django import forms
from models import Page
from django.utils.translation import ugettext_lazy as _


class PageAdminForm(forms.ModelForm):
    content = forms.CharField(widget=forms.Textarea(attrs={'class':'wysiwyg full'}), required=False)
    comment = forms.CharField(initial='', widget=forms.Textarea(attrs={'cols':'90', 'rows':'5'}), required=False)
    
    class Meta:
        model = Page